<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        #box{
            background-color: antiquewhite;
            height: 1000px;
        }
        .box2{
            float: left;
        }
    </style>
</head>

<body>
<div id="box">
    <input type="text" class="box2" > 
    <span class="box2">123412</span>
    <div class="box2">aasdf </div>
</div>
</body>

</html>